﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;

namespace Axe.Web.Controls
{
    public class DayMonthDownList : HardcodedDropDownList
    {
        public DayMonthDownList()
        {
            ToolTip = Resources.Control_Resources.DayMonthDownList_ToolTip;
        }

        protected override HardcodedDropDownListEventArgs OnRequestDataItems()
        {
            HardcodedDropDownListEventArgs e = new HardcodedDropDownListEventArgs();

            for (int i = 1; i < 32; i++)
            {
                e.BoundItems.Add(new ListItem(i.ToString()));
            }
            return e;
        }

    }
}
